package com.javatest.validate;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @date 2020-11-10 下午2:48
 */
public class ValidatorTest11 {
    public static void main(String[] args) {
        Room bean = new Room();
        bean.finished = false;
        ValidationUtils.printViolations(ValidationUtils.obtainValidator()
                .validate(bean));
    }
}
